package com.yy.weixinpay.service;

import java.security.GeneralSecurityException;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: lee
 * @Date: 2022/1/19 15:23
 */
public interface WxPayService {
    Map<String,Object> nativePay(Long productId) throws Exception;

    void processOrder(Map<String, Object> map);

    void cancelOrder(String orderNo);

    String queryOrder(String orderNo);

    void checkOrderStatus(String orderNo);

    void refund(String orderNo, String reason);

    void processRefund(HashMap<String, Object> bodyMap) throws GeneralSecurityException;

    String queryRefund(String refundNo);

    String queryBill(String billDate, String type);

    String downloadBill(String billDate, String type);
}
